package dao;

import java.sql.Connection;
import java.sql.SQLException;

public class Teste {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ConnectionManneger cm = ConnectionManneger.getInstace();
		Connection conexao = cm.getConnection();
		try {
			conexao.setAutoCommit(false);
			//fazer as minhas dml
			conexao.commit();
		} catch (SQLException e) {
			e.printStackTrace();
		} finally {
			cm.closeConnection();
		}
	}

}
